<?php
extract(array(
	'class' => 'pagination',
	'pagination_id' => 'pagination_contents',
), EXTR_SKIP);

if ( empty($pagination) ) return false;

$pager = array(
	'pages' => $pagination,
	'cssFile' => false,
	'itemOptions' => array(
		'class' => 'cm-ajax',
		'rev' => $pagination_id,
		'name' => 'pagination',
	),
);
printf('<div class="%s">', $class);
$this->widget('MyLinkPager', $pager); 
printf('</div>');
?>